package com.hspedu.service;

import com.hspedu.entity.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@Component
@FeignClient(value = "MEMBER-SERVICE-PROVIDER")
public interface MemberFeignService {
    @GetMapping("/member/getMemberById")
    public Result getMemberById(@RequestParam("id")Long id);
}
